home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak Vol A-4
/
(Vol A-4) Vol. A4.iso
/
Games
/
loa_and_the_island.swf
/
scripts
/
DefineSprite_556
/
frame_11
/
PlaceObject2_555_4
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
Wrap
Text File
|
2008-03-17
|
298b
|
20 lines
onClipEvent(enterFrame){
if(_root.paused == false)
{
play();
_alpha = _root.hurt;
if(_root.hurt > 0)
{
_root.hurt -= 10;
}
else
{
_root.hurt = 0;
}
}
if(_root.paused == true)
{
stop();
}
}